package com.glq.book.util;

public class IsNullUtil {
    public static String isEntity(String str) {
        if (str == "" || str == null) {
            str = "无";
        }
        return str;
    }

    public static String isNumEntity(String intNum) {
        if (intNum =="" || intNum == null) {
            intNum = "0";
        }
        return intNum;
    }
    public static String isBookImgEntity(String bookImg) {
        if (bookImg =="" || bookImg == null) {
            bookImg = "/myimger/trophy.png";
        }
        return bookImg;
    }
}
